<div class="col-md-12" style="background: #fff;padding: 10px 0">
    <div class="form-group">
        <div class="col-sm-3"></div>
        <div class="col-sm-6">
            @if(isset($url))
                <form action="{{$url}}" method="GET">
                    <input style="display: inline-block;float: left;width: 400px" type="text"
                           class="form-control serial_number" placeholder="{{$placeholder??$field}}" name="{{$field}}"
                           value="{{request()->get($field)}}">
                    &nbsp;&nbsp;<button class="btn btn-info submit btn-sm"><i class="fa fa-search"></i>&nbsp;&nbsp;搜索
                    </button>
                </form>
            @else
                <form action="/{{request()->path()}}" method="GET">
                    <input style="display: inline-block;float: left;width: 400px" type="text"
                           class="form-control serial_number" placeholder="{{$placeholder??$field}}" name="{{$field}}"
                           value="{{request()->get($field)}}">
                    &nbsp;&nbsp;<button class="btn btn-info submit btn-sm"><i class="fa fa-search"></i>&nbsp;&nbsp;搜索
                    </button>
                </form>
            @endif

        </div>
        <div class="col-sm-3"></div>
    </div>
</div>
